home *** CD-ROM | disk | FTP | other *** search
- --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
- -- UNIT NAME : stack_package
- -- VERSION : 1.0
- -- REVIEW CODE :
- -- DDN ADDRESS : DUKE%TI-EG at CSNET-RELAY
- -- AUTHOR : Tom Duke
- -- : TI Ada Technology Branch
- -- : PO Box 801, MS 8007
- -- : McKinney, TX 75069
- -- COPYRIGHT :
- -- DATE CREATED : 16 Apr 85
- -- DATE RELEASED : 16 Apr 85
- -- DATE LAST UPDATED : 16 Apr 85
- -- LOCATION : C2MUG
- -- LOCATION : ASR
- -- ENVIRONMENT : DG MV 10000, ROLM ADE
- --= CLASSIFICATION ===============================================--
- -- CATEGORY LEVEL 1 : COMPONENTS
- -- CATEGORY LEVEL 2 : Stack
- -- CATEGORY LEVEL 3 :
- -- CATEGORY LEVEL 4 :
- -- KEYWORD : stack
- -- KEYWORD : generic stack
- -- INDEX : Stack
- -- INDEX : Generic Stack
- -- INDEX : Stack, Generic
- -- TAXONOMY :
- -- DEPENDENCIES :
- -- SEE ALSO :
- --= FILE LISTING ===============================================--
- -- FILE SPECS : PD:<ADA.COMPONENTS>STACK.*
- -- DIRECTORY DISPLAY :
- -- Directory PD:<ADA.COMPONENTS>
- -- File Name Byte Count Line Count
- -- --------------- ---------- ----------
- -- STACK.ADA 6833 194
- -- STACK.PRO 3309 68
- -- =============== ========== ==========
- -- 2 Files 10142 262
- --= ABSTRACT ===============================================--
- -- This is a generic package that provides the types, procedures,
- -- and exceptions to define an abstract stack and its corresponding
- -- operations. Using an instantiation of this generic package, one can
- -- declare multiple versions of a stack of type GENERIC_STACK. The stack
- -- operations provided include:
- --
- -- 1. clear the stack,
- -- 2. pop the stack,
- -- 3. push an element onto the stack, and
- -- 4. access the top element on the stack.
- --= REVISION HISTORY ===============================================--
- --
- -- DATE VERSION AUTHOR HISTORY
- -- 4/16/85 1.0 Tom Duke Initial Release
- --= RELEASE NOTICE ===============================================--
- -- This prologue must be included in all copies of this software.
- --
- -- This software is released to the Ada community.
- -- This software is released to the Public Domain (note:
- -- software released to the Public Domain is not subject
- -- to copyright protection).
- -- Restrictions on use or distribution: NONE
- --= DISCLAIMER ===============================================--
- -- This software and its documentation are provided "AS IS" and
- -- without any expressed or implied warranties whatsoever. No warranties
- -- as to performance, merchantability, or fitness for a particular
- -- purpose exist.
- -- The user is advised to test the software thoroughly before
- -- relying on it. The user must assume the entire risk and liability of
- -- using this software. In no event shall any person or organization of
- -- people be held responsible for any direct, indirect, consequential or
- -- inconsequential damages or lost profits.
- --======================================================================--
-